<app>
  <a href="#" onclick="{ click }">A Link</a>

  
  this.click = function(e){
    console.log(e)
    alert('A clicked')
  }
</app>